/**   
 * Copyright © 2018 Zuxia. Tech Ltd. All rights reserved.
 * 
 * @Package: com.java46.struts2.base.exception 
 * @author: zuxia   
 * @date: 2018年7月4日 上午11:05:59 
 */
package com.java46.carera.base.exception;

/** 
 * @ClassName: BusinessException 
 * @Description: TODO
 * @author: zuxia
 * @date: 2018年7月4日 上午11:05:59 
 */
public class BusinessException extends RuntimeException {
	/** 序列化 **/
	private static final long serialVersionUID = 4227775046234221462L;
	
	private String errorMessage;

	public BusinessException(String errorMessage) {
		this.errorMessage = errorMessage;
	}
	
	public BusinessException(String errorMessage, Throwable e) {
		super(e);
		this.errorMessage = errorMessage;
	}
	
	public String getErrorMessage() {
		return errorMessage;
	}
}
